package top.infopub.mgr.bpa.dao;

import com.github.pagehelper.Page;
import org.springframework.stereotype.Repository;
import top.infopub.dto.bpa.SettlePlanDetailDto;
import top.infopub.dto.bpa.SettlePlanListDto;
import top.infopub.generic.GenericDao;
import top.infopub.model.bpa.SettlePlan;


/**
 * BPA_SETTLE_PLAN  结算策划
 */

@Repository
public interface BpaSettlePlanDao extends GenericDao<SettlePlan, String> {

    /**
     * 根据条件查询分页记录
     * @return
     * @see
     */
    Page<SettlePlanListDto> selectListByDomainWhere(SettlePlan settlePlan);

    SettlePlanDetailDto queryByGuid(String id);

    SettlePlan queryInfoById(String id);

    void addSettlePlan(SettlePlanDetailDto settlePlanDetailDto);

    void addSettlePlanInfo(SettlePlan settlePlan);
}
